import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入全局样式表
import './assets/css/global.scss'
// 导入字体图标
import './plugins/fonts/iconfont.css'
import HawkTable from "@/components/table"
import HawkBreadcrumb from "@/components/breadcrumb/Breadcrumb"
import viewdata from "./utils/viewData"
import './utils/common'
import {message} from "./utils/message"
Vue.component("HawkTable",HawkTable);
Vue.component("HawkBreadcrumb",HawkBreadcrumb)
Vue.use(ElementUI)
Vue.mixin(viewdata)
Vue.prototype.$msg = message
Vue.prototype.$eventHub = new Vue()
Vue.config.productionTip = false


new Vue({
  router:router.router,
  store,
  render: h => h(App)
}).$mount('#app')
